home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 90 / CD Actual 90.iso / Software3D / PovLab / povlab / TEXTURE / TEXTURE.TXT < prev    next >
Encoding:
Text File  |  1999-08-29  |  4.6 KB  |  108 lines

  1. POVLAB modeler for POV-Ray 3.0
  2. Copyright 1994,1995 Denis Olivier & ChromaGraphics.
  3. All rights reserved.
  4. -------------------------------------------------------------------------------
  5. MANAGING TEXTURES AROUND POVLAB 3D MODELLER
  6. -------------------------------------------------------------------------------
  7.  
  8.            Postal adress   E-mail
  9.  
  10.            DENIS OLIVIER   Internet : dolivier@cyberstation.fr
  11.       5, Bld Franck Lamy   Home pages :
  12.              17200 Royan   http://www.cyberstation.fr/~dolivier/povlab.html
  13.                   France   http://www.cyberstation.fr/~dolivier/author.html
  14.  
  15.  
  16. This file describes how to manage textures with the new utilities. For more
  17. information, please read the documentation POVLAB.DOC.
  18.  
  19. The textures are described by 2 files, POVLAB.TEX and POVLAB.INC.
  20. The first contains library assignments for both the texture's name and
  21. the thumbnail's name. POVLAB.INC is a POV-Ray file like TEXTURES.INC.
  22.  
  23. I've written 2 utilities to help manage the textures library.
  24. MAKETHEM.EXE is the program that actually manages the library.
  25. TGAVGIF.EXE is a program to convert TGA files to 8 bits GIF files, with
  26. good color reduction and dithering. You can use it for other images besides
  27. texture thumbnails.
  28. It needs DOS4GW.EXE in the path to run.
  29.  
  30. Here is how to render each thumbnails for unallocated textures names.
  31. Go to the POVLAB\TEXTURE path, run MAKETHEM.EXE.
  32.  
  33. You will see :
  34.  
  35.         MAKE THEM ALL release 1.0, (C) Copyright ChromaGraphics, 1994-1996.
  36.         Texture library maker and manager for POVLAB.
  37.         All rights reserved, (R) Denis Olivier - Feb 29 1996.
  38.  
  39.             Syntax : makethem [option(s)]
  40.  
  41.             -Ppath : specify path for POV-Ray (default current)
  42.             -Ipath : specify file library.TEX (default POVLAB.TEX)
  43.             -D     : display while rendering (+d0)
  44.             -F     : enable Faster Than POV-Ray speedup options (2.2 only)
  45.             -An.n  : use antialiasing rendering option (-A0.3 for example)
  46.             -T     : render all the textures int library.TEX (overwrite)
  47.             -?     : syntax and help screen"
  48.  
  49.             Example : makethem -pc:\povray -ic:\povlab\povlab.tex
  50.  
  51. -P : to tell the program where POV-Ray is (just the path)
  52. -I : choose one texture library for POVLAB.
  53. -D : display the rendering image while computing
  54. -F : only for POV-Ray 2.2 users
  55. -A : use antialiasing for better display
  56.  
  57. Command line
  58. ------------
  59. If POV-Ray is in the path and you want to add new thumbnails to your
  60. POVLAB.TEX, just enter "makethem" on the dos prompt.
  61.  
  62. When POV-Ray isn't in the path
  63. ------------------------------
  64. type "makethem -pc:\povray".
  65. Here POV-Ray dir is C:\POVRAY
  66.  
  67. How it works
  68. ------------
  69. First, MAKETHEM will read the POVLAB.TEX file (or the one you've specified) and
  70. check for unallocated texture names.
  71. Then it prepares a .POV file, sends it to POV-Ray, and converts it into
  72. .GIF format with TGAVGIF.EXE.
  73. If you stop the rendering before TGA file is compledted, no .GIF
  74. will be created.
  75.  
  76. Name the texture thumbnails
  77. ---------------------------
  78. MAKETHEM will automatically assign new names to textures thumbnails.
  79. The prefix is TEX followed by 4 digits (e.g. 0000), and then .TGA or .GIF.
  80. You can have up to 9999 files (POVLAB only supports 1000 per .TEX file).           
  81. MAKTHEM will check when it finds an unallocated texture name whether
  82. TEX0000.TGA exists and if it does will continue to check for, 
  83. TEX0001.TGA, TEX0002.TGA etc... and stops until it finds an unallocated name.
  84.  
  85. Assign names and thumbnails together
  86. ------------------------------------
  87. When MAKETHEM has finished, it generates the file MAKETHEM.LOG, which has a 
  88. similar structure to POVLAB.TEX, with names and thumbnails associated.
  89. You can edit the file POVLAB.TEX, add match the new thumbnails file to their
  90. respective names, and then, remove the .TGA files.
  91.  
  92. Options used in MAKETHEM for POV-Ray and TGAVGIF
  93. ------------------------------------------------
  94. POV-Ray : -iTEXTURE.POV -oTEX????.TGA +ft +w100 +h100 +v +mb2 +a +x
  95. TGAVGIF : TEX???? /f /i
  96.  
  97. Using MAKETHEM and POV-Ray for Windows
  98. --------------------------------------
  99. Althought you can use it with WINPOV (it will find
  100. alone the PVENGINE.EXE exe file), you cannot use it in a good way cos
  101. WINPOV don't wait the render to be finished to continue the process
  102. with MEKETHEM. So TGAVGIF will load the thumbnail and WINPOV will not
  103. finished to render this thumbnail and there will be a lot of errors (cos
  104. MAKETHEM will reload many times WINPOV too).
  105. The better way is to find just a POVRAY.EXE dos version just for rendering
  106. thumbnails for texture previews.
  107.  
  108.